package com.zhudoo.zhilian.dao.repository;

import com.zhudoo.zhilian.dao.entity.CityLine;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;

@Repository
public interface CityLineRepository extends JpaRepository<CityLine, Serializable> {

    List<CityLine> findByCityId(Integer cityId, Sort sort);
}

